using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_FunctionEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_FunctionEntity()
         {
             tableName = "PT_Function";


			 fieldInfos.Add(new FieldInfo("PT_Function","FormName","FormName","string",100,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Function","FunctionId","FunctionId","int",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Function","IsActive","IsActive","bool",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_Function","Tag","Tag","string",100,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_FormName;
		 protected int m_FunctionId;
		 protected bool m_IsActive;
		 protected string m_Tag;

		 public string FormName

          { 
                get { 
                    return m_FormName;}

                set{m_FormName=value;

                    GetField("FormName").Set();
                    GetField("FormName").IsNull=(value == null);           
                    }
          }
		 public int FunctionId

          { 
                get { 
                    return m_FunctionId;}

                set{m_FunctionId=value;

                    GetField("FunctionId").Set();
                    GetField("FunctionId").IsNull=(value == null);           
                    }
          }
		 public bool IsActive

          { 
                get { 
                    return m_IsActive;}

                set{m_IsActive=value;

                    GetField("IsActive").Set();
                    GetField("IsActive").IsNull=(value == null);           
                    }
          }
		 public string Tag

          { 
                get { 
                    return m_Tag;}

                set{m_Tag=value;

                    GetField("Tag").Set();
                    GetField("Tag").IsNull=(value == null);           
                    }
          }

}
}
